using System;
using System.Collections.Generic;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using System.Text;

namespace IngenEngine
{
	internal class MemoryManager
	{
		VertexBuffer vb;
		public MemoryManager(ref Device device)
		{
			//Vertex Buffer
			vb = new VertexBuffer(
				Config.vertexFormat.GetType(),			//Type of vertex data that the buffer holds 
				36,										//Size of buffer 
				device,									//Device to associate with the buffer
				Usage.Dynamic | Usage.WriteOnly,		//Usage flags.
				CustomVertex.PositionColored.Format,	//Vertex format to use
				Pool.Default);							//How to pool the vertex buffer memory
		}
	}
}